<template>
  <at-card class="flex-c-center">
    <image v-if="type === 'empty'" src="@/static/icon/common/empty.png" style="width: 200rpx;height: 200rpx"/>
    <image v-if="type === 'net-error'" src="@/static/icon/common/net-error.png" style="width: 200rpx;height: 200rpx"/>
    <view class="mt-20 f-s-m f-c-9">{{desc}}</view>
  </at-card>
</template>

<script setup>
defineProps(['type','desc'])
</script>

<style lang="scss" scoped>

</style>